#ifndef CUBEFEATURE_H
#define CUBEFEATURE_H
#include "BaseFeature.h"
class CubeFeature : public BaseFeature {
public:
	CubeFeature();
	~CubeFeature();

public:
	//获取私有变量
    double getLength();
    double getWidth();
	double getHigh();
	//设置私有变量
    void setLength(double length);
    void setWidth(double width);
	void setHigh(double high);

	//保存操作，覆写运算符
	friend ostream& operator<<(ostream& out, CubeFeature feature);

private:
	double length;
	double width;
    double high;
};
#endif
